package com.hxx.day2;

public class TestDemo13 {
    public static void main(String[] args) {
        AA a = new BB();
    }

}

class AA{
    public AA(int i) {
        System.out.println("AA");
    }
    public AA(int i,int n){}

    public AA() {
    }
}
class BB extends AA{
    public BB() {
        super(1,2);
        System.out.println("BB");
    }
}





















